Part Number Hot Search : 
FM104 CF5600 22200 TF12F E0102AB 0BA02 PIC16 DS1305N
Product Description
Full Text Search
 

To Download AD5258EVAL2 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 Nonvolatile, I2C-Compatible 64-Position, Digital Potentiometer AD5258
FEATURES
Nonvolatile memory maintains wiper settings 64-position Compact MSOP-10 (3 mm x 4.9 mm) package I2C(R)-compatible interface VLOGIC pin provides increased interface flexibility End-to-end resistance 1 k, 10 k, 50 k, 100 k Resistance tolerance stored in EEPROM (0.1% accuracy) Power-on EEPROM refresh time <1 ms Software write protect command Three-state Address Decode Pins AD0 and AD1 allow 9 packages per bus 100-year typical data retention at 55C Wide operating temperature -40C to +85C 3 V to 5 V single supply
VDD VLOGIC GND 6 I2C SERIAL INTERFACE 6 DATA CONTROL COMMAND DECODE LOGIC ADDRESS DECODE LOGIC CONTROL LOGIC RDAC EEPROM RDAC REGISTER
FUNCTIONAL BLOCK DIAGRAMS
RDAC A W B
SCL SDA
AD0 AD1
AD5258
05029-001
POWERON RESET
Figure 1. Block Diagram
VLOGIC VDD A
APPLICATIONS
LCD panel VCOM adjustment LCD panel brightness and contrast control Mechanical potentiometer replacement in new designs Programmable power supplies RF amplifier biasing Automotive electronics adjustment Gain control and offset adjustment Fiber to the home systems Electronics level settings
SCL SDA AD0 AD1 I2C SERIAL INTERFACE
EEPROM RDAC REGISTER AND LEVEL SHIFTER COMMAND DECODE LOGIC ADDRESS DECODE LOGIC CONTROL LOGIC GND B W
Figure 2. Block Diagram Showing Level Shifters
GENERAL DESCRIPTION
The AD5258 provides a compact, nonvolatile 3 mm x 4.9 mm packaged solution for 64-position adjustment applications. These devices perform the same electronic adjustment function as mechanical potentiometers1 or variable resistors, but with enhanced resolution and solid-state reliability. The wiper settings are controllable through an I2C-compatible digital interface that is also used to read back the wiper register and EEPROM content. Resistor tolerance is also stored within EEPROM providing an end-to-end tolerance accuracy of 0.1%. There is also a software write protection function that ensures data cannot be written to the EEPROM register.
1
CONNECTION DIAGRAM
W1 AD0 2 AD1 3
10
A B
AD5258
9
SCL 5
6
VLOGIC
Figure 3. Pinout
A separate VLOGIC pin delivers increased interface flexibility. For users who need multiple parts on one bus, Address Bit AD0 and Address Bit AD1 allow up to nine devices on the same bus.
Rev. 0
Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. Specifications subject to change without notice. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. Trademarks and registered trademarks are the property of their respective owners.
The terms digital potentiometer, VR (variable resistor), and RDAC are used interchangeably.
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 www.analog.com Fax: 781.326.8703 (c) 2005 Analog Devices, Inc. All rights reserved.
05029-002
8 VDD TOP VIEW SDA 4 (Not to Scale) 7 GND
05029-003
AD5258 TABLE OF CONTENTS
Specifications..................................................................................... 3 Electrical Characteristics............................................................. 3 Timing Characteristics ................................................................ 5 Absolute Maximum Ratings............................................................ 6 ESD Caution.................................................................................. 6 Pin Configuration and Function Descriptions............................. 7 Typical Performance Characteristics ............................................. 8 Test Circuits..................................................................................... 13 Theory of Operation ...................................................................... 14 Programming the Variable Resistor......................................... 14 Programming the Potentiometer Divider ............................... 14 I2C Interface..................................................................................... 15 I2C Byte Formats ............................................................................. 16 Generic Interface ........................................................................ 16 Write Modes................................................................................ 17 Read Modes................................................................................. 17 Store/Restore Modes .................................................................. 17 Tolerance Readback Modes ...................................................... 18 ESD Protection of Digital Pins and Resistor Terminals........ 19 Power-Up Sequence ................................................................... 19 Layout and Power Supply Bypassing ....................................... 19 Multiple Devices on One Bus ................................................... 19 Evaluation Board ........................................................................ 19 Display Applications ...................................................................... 20 Circuitry ...................................................................................... 20 Outline Dimensions ....................................................................... 21 Ordering Guide .......................................................................... 21
REVISION HISTORY
3/05--Revision 0: Initial Version
Rev. 0 | Page 2 of 24
AD5258 SPECIFICATIONS
ELECTRICAL CHARACTERISTICS
VDD = VLOGIC = 5 V 10%, or 3 V 10%; VA = VDD; VB = 0 V; -40C < TA < +85C, unless otherwise noted. Table 1.
Parameter DC CHARACTERISTICS: RHEOSTAT MODE Resistor Differential Nonlinearity 1 k 10 k/50 k/100 k Resistor Integral Nonlinearity 1 k 10 k/100 k 50 k Nominal Resistor Tolerance 1 k 10 k/50 k/100 k Resistance Temperature Coefficient Total Wiper Resistance DC CHARACTERISTICS: POTENTIOMETER DIVIDER MODE Differential Nonlinearity 1 k 10 k/50 k/100 k Integral Nonlinearity 1 k 10 k/50 k/100 k Full-Scale Error 1 k 10 k 50 k/100 k Zero-Scale Error 1 k 10 k 50 k/100 k Voltage Divider Temperature Coefficient RESISTOR TERMINALS Voltage Range Capacitance A, B Capacitance W Common-Mode Leakage DIGITAL INPUTS AND OUTPUTS Input Logic High Input Logic Low Leakage Current SDA, AD0, AD1 SCL - Logic High SCL - Logic Low Input Capacitance Symbol R-DNL Conditions RWB, VA = no connect -1.5 -0.25 R-INL RWB, VA = no connect -5 -0.5 -0.25 TA = 25C, VDD = 5.5 V RAB RAB (RAB x 106)/(RAB x T) RWB 0.9 -30 Code = 0x00/0x20 Code = 0x00 200/15 75 1.5 +30 350 k % ppm/C 0.5 0.1 0.1 +5 +0.5 +0.25 0.3 0.1 +1.5 +0.25 LSB Min Typ1 Max Unit LSB
DNL -1 -0.25 INL -1 -0.25 VWFSE Code = 0x3F -6 -1 -1 VWZSE Code = 0x00 0 0 0 (VW x 106)/(VW x T) Code = 0x00/0x20 3 0.3 0.1 120/15 5 1 0.5 -3 -0.3 -0.1 0 0 0 0.3 0.1 +1 +0.25 0.3 0.1 +1 +0.25
LSB
LSB
LSB
LSB
ppm/C
VA, B, W CA, B CW ICM VIH VIL IIL
GND f = 1 MHz, measured to GND, code = 0x20 f = 1 MHz, measured to GND, code = 0x20 VA = VB = VDD/2 0.7 x VL -0.5 VIN = 0 V or 5 V VIN = 0 V VIN = 5 V 0.01 -1.4 0.01 5 45 60 10
VDD
V pF pF nA
VL + 0.5 0.3 x VL 1 +1 1
V V A
-2.5
CIL
pF
Rev. 0 | Page 3 of 24
AD5258
Parameter POWER SUPPLIES Power Supply Range Positive Supply Current Logic Supply Logic Supply Current Programming Mode Current (EEPROM) Power Dissipation Power Supply Rejection Ratio DYNAMIC CHARACTERISTICS Bandwidth -3 dB Symbol VDD IDD VLOGIC ILOGIC ILOGIC(PROG) PDISS PSRR BW Conditions Min 2.7 0.5 2.7 VIH = 5 V or VIL = 0 V VIH = 5 V or VIL = 0 V VIH = 5 V or VIL = 0 V, VDD = 5 V VDD = +5 V 10%, Code = 0x20 Code = 0x20 RAB = 1 k RAB = 10 k RAB = 50 k RAB = 100 k RAB = 10 k, VA = 1 V rms, VB = 0, f = 1 kHz RAB = 10 k, VAB = 5 V, 1 LSB error band RWB = 5 k, f = 1 kHz 3.5 35 20 0.01 Typ1 Max 5.5 2 5.5 6 40 0.06 Unit V A V A mA W %/%
Total Harmonic Distortion VW Settling Time Resistor Noise Voltage Density
1
THDW tS eN_WB
18000 1000 190 100 0.1 500 9
kHz kHz kHz kHz % ns nV/Hz
Typical values represent average readings at 25C and VDD = 5 V.
Rev. 0 | Page 4 of 24
AD5258
TIMING CHARACTERISTICS
VDD = VLOGIC = 5 V 10%, or 3 V 10%; VA = VDD; VB = 0 V; -40C < TA < +85C, unless otherwise noted. Table 2.
Parameter I2C INTERFACE TIMING CHARACTERISTICS SCL Clock Frequency tBUF Bus Free Time between STOP and START tHD;STA Hold Time (Repeated START) tLOW Low Period of SCL Clock tHIGH High Period of SCL Clock tSU;STA Setup Time for Repeated START Condition tHD;DAT Data Hold Time tSU;DAT Data Setup Time tF Fall Time of Both SDA and SCL Signals tR Rise Time of Both SDA and SCL Signals tSU;STO Setup Time for STOP Condition EEPROM Data Storing Time EEPROM Data Restoring Time at Power On1 Symbol fSCL t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 tEEMEM_STORE tEEMEM_RESTORE1 Conditions Min 0 1.3 0.6 1.3 0.6 0.6 0 100 0.9 300 300 0.6 VDD rise time dependant. Measure without decoupling capacitors at VDD and GND. VDD = 5 V. 26 300 Typ Max 400 Unit kHz s s s s s s ns ns ns s ms s
After this period, the first clock pulse is generated.
EEPROM Data Restoring Time upon Restore Command1 EEPROM Data Rewritable Time2 FLASH/EE MEMORY RELIABILITY Endurance3 Data Retention4
1 2
tEEMEM_RESTORE2 tEEMEM_REWRITE
300 540 100 700 100
s s kCycles Years
During power-up, the output is momentarily preset to midscale before restoring EEPROM content. Delay time after power-on PRESET prior to writing new EEPROM data. 3 Endurance is qualified to 100,000 cycles per JEDEC Std. 22 method A117, and is measured at -40C, +25C, and +85C; typical endurance at +25C is 700,000 cycles. 4 Retention lifetime equivalent at junction temperature (TJ) = 55C per JEDEC Std. 22, Method A117. Retention lifetime based on an activation energy of 0.6eV derates with junction temperature.
SCL
t8
t9
t6
t2
t3 t8 t9
t4
t5
t7
t10
P
S
P
Figure 4. I C Interface Timing Diagram
2
Rev. 0 | Page 5 of 24
05029-004
SDA
t1
AD5258 ABSOLUTE MAXIMUM RATINGS
TA = 25C, unless otherwise noted. Table 3.
Parameter VDD to GND VA, VB, VW to GND IMAX Pulsed1 Continuous Digital Inputs and Output Voltage to GND Operating Temperature Range Maximum Junction Temperature (TJMAX) Storage Temperature Lead Temperature (Soldering, 10 sec) Thermal Resistance2 JA: MSOP - 10
1
Value -0.3 V to +7 V GND - 0.3 V, VDD + 0.3 V 20 mA 5 mA 0 V to +7 V -40C to +85C 150C -65C to +150C 300C 200C/W
Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; functional operation of the device at these or any other conditions above those indicated in the operational section of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
Maximum terminal current is bounded by the maximum current handling of the switches, maximum power dissipation of the package, and maximum applied voltage across any two of the A, B, and W terminals at a given resistance. 2 Package power dissipation = (TJMAX - TA)/JA.
ESD CAUTION
ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily accumulate on the human body and test equipment and can discharge without detection. Although this product features proprietary ESD protection circuitry, permanent damage may occur on devices subjected to high energy electrostatic discharges. Therefore, proper ESD precautions are recommended to avoid performance degradation or loss of functionality.
Rev. 0 | Page 6 of 24
AD5258 PIN CONFIGURATION AND FUNCTION DESCRIPTIONS
W1 AD0 2 AD1 3
10
A B
AD5258
9
SCL 5
6
VLOGIC
Figure 5. Pin Configuration
Table 4. Pin Function Descriptions
Pin No. 1 2 3 4 5 6 7 8 9 10 Mnemonic W ADO AD1 SDA SCL VLOGIC GND VDD B A Description W Terminal, GND VW VDD. Programmable Three-State Address Bit 0 for Multiple Package Decoding. State is registered on power-up. Programmable Three-State Address Bit 1 for Multiple Package Decoding. State is registered on power-up. Serial Data Input/Output. Serial Clock Input. Positive edge triggered. Logic Power Supply. Digital Ground. Positive Power Supply. B Terminal, GND VB VDD. A Terminal, GND VA VDD.
Rev. 0 | Page 7 of 24
05029-008
8 VDD TOP VIEW SDA 4 (Not to Scale) 7 GND
AD5258 TYPICAL PERFORMANCE CHARACTERISTICS
VDD = VLOGIC = 5.5 V, RAB = 10 k, TA = 25C, unless otherwise noted.
0.5 0.4 0.3 POTENTIOMETER MODE DNL (LSB) 0.10 0.08 0.06 0.04 0.02 0 -0.02 -40C -0.04 +85C -0.06 -0.08 -0.10 0 8 16 24 65 40 CODE (Decimal) 48 56 64
05029-012
RHEOSTAT MODE INL (LSB)
0.2 2.7V 0.1 0 -0.1 -0.2 -0.3 -0.4 -0.5 0 8 16 24 65 40 CODE (Decimal) 48 56 64
05029-015
5.5V
+25C
Figure 6. R-INL vs. Code vs. Supply Voltage
0.25 0.20 0.10 0.08
Figure 9. DNL vs. Code vs. Temperature
RHEOSTAT MODE DNL (LSB)
0.15 0.10 5.5V 0.05 0 -0.05 -0.10 2.7V -0.15
05029-017
POTENTIOMETER MODE INL (LSB)
0.06 0.04 2.7V 0.02 0 -0.02 -0.04 -0.06 -0.08 -0.10 0 8 16 24 65 40 CODE (Decimal) 48 56 64
05029-011
5.5V
-0.20 -0.25 0 8 16 24 65 40 CODE (Decimal) 48 56 64
Figure 7. R-DNL vs. Code vs. Supply Voltages
0.10 0.08 0.06 0.04 0.02 0 -0.02 -0.04 -0.06 -0.08 -0.10 0 8 16 24 65 40 CODE (Decimal) 48 56 64 -40C +25C +85C 0.10 0.08
Figure 10. INL vs. Supply Voltages
POTENTIOMETER MODE DNL (LSB)
POTENTIOMETER MODE INL (LSB)
0.06 0.04 0.02 0 -0.02 -0.04 5.5V -0.06 -0.08 -0.10 0 8 16 24 65 40 CODE (Decimal) 48 56 64
05029-013
2.7V
Figure 8. INL vs. Code vs. Temperature
05029-010
Figure 11. DNL vs. Code vs. Supply Voltages
Rev. 0 | Page 8 of 24
AD5258
0.25 0.20
0.50 0.45 ZSE @ VDD = 2.7V 0.40 0.35
-40C +85C
RHEOSTAT MODE INL (LSB)
0.15 0.10
ZSE (LSB)
0.05 0 -0.05 -0.10
0.30 0.25 0.20 0.15
ZSE @ VDD = 5.5V
+25C -0.15
05029-014
0.10 0.05 0 -40 -20 0 20 40 TEMPERATURE (C) 60 80
05029-048
-0.20 -0.25 0 8 16 24 65 40 CODE (Decimal) 48 56 64
Figure 12. R-INL vs. Code vs. Temperature
0.25 0.20
Figure 15. Zero-Scale Error vs. Temperature
1
RHEOSTAT MODE DNL (LSB)
0.15 0.10 +25C 0.05 0 -0.05 -0.10 -0.15 -0.20 -0.25 0 8 16 24 65 40 CODE (Decimal) 48 56 64
05029-016
-40C
+85C
IDD, SUPPLY CURRENT (A)
VDD = 5.5V
0.1 -40
-20
0
20 40 TEMPERATURE (C)
60
80
Figure 13. R-DNL vs. Code vs. Temperature
0 -0.05
ILOGIC, LOGIC SUPPLY CURRENT (A)
Figure 16. Supply Current vs. Temperature
6
-0.10 -0.15
FSE (LSB)
5 VDD = 5.5V 4
-0.20 -0.25 -0.30 -0.35 FSE @ VDD = 2.7V -0.40
05029-049
FSE @ VDD = 5.5V
3
2
1
05029-046
-0.45 -0.50 -40 -20 0 20 40 TEMPERATURE (C) 60 80
VDD = 2.7V 0 -40
-20
0
20 40 TEMPERATURE (C)
60
80
Figure 14. Full-Scale Error vs. Temperature
Figure 17. Logic Supply Current vs. Temperature vs. VDD
Rev. 0 | Page 9 of 24
05029-045
AD5258
250 120
RHEOSTAT MODE TEMPCO (ppm/C)
200 100 150 1k 100 50k 50 10k 0 -50 100k
05029-019
100k Rt @ VDD = 5.5V
TOTAL RESISTANCE (k)
80
60
50k Rt @ VDD = 5.5V
40 10k Rt @ VDD = 5.5V 20 1k Rt @ VDD = 5.5V
05029-050
-100 -150 0 8 16 24 65 40 CODE (Decimal) 48 56 64
0 -40
-20
0
20 40 TEMPERATURE (C)
60
80
Figure 18. Rheostat Mode Tempco (RAB x106)/( RAB x T) vs. Code
120
POTENTIOMETER MODE TEMPCO (ppm/C)
Figure 21. Total Resistance vs. Temperature
0 -6 20H 10H -12 -18
GAIN (dB)
100 1k 80 60 40 50k 20 0 -20 0 10k 100k 8 16 24 65 40 CODE (Decimal) 48 56 64
08H 04H 02H 01H
-24 -30 -36 -42 -48
05029-018
-54 -60 10k
100k
1M FREQUENCY (Hz)
10M
100M
Figure 19. Potentiometer Mode Tempco (VW x 106)/( VW x T) vs. Code
350 300 -12 250
RWB @ 0x00
Figure 22. Gain vs. Frequency vs. Code, RAB = 1 k
0 -6 20H 10H 08H 04H 02H -30 -36 -42 -48 01H
RWB @ VDD = 2.7V
-18
GAIN (dB)
200 150 100
-24
05029-047
-54 -60 1k
0 -40
-20
0
20 40 TEMPERATURE (C)
60
80
10k
100k FREQUENCY (Hz)
1M
10M
Figure 20. RWB vs. Temperature
Figure 23. Gain vs. Frequency vs. Code, RAB = 10 k
Rev. 0 | Page 10 of 24
05029-023
50
RWB @ VDD = 5.5V
05029-022
AD5258
0 -6 -12 -18
GAIN (dB)
80
20H 10H 08H 04H 02H 01H
PSRR (dB)
CODE = MIDSCALE, VA = VLOGIC, VB = 0V PSRR @ VLOGIC = 5V DC 10% p-p AC 60
-24 -30 -36 -42
40
PSRR @ VLOGIC = 3V DC 10% p-p AC
20
-48
05029-024
-54 -60 1k
10k 100k FREQUENCY (Hz)
1M
0 100
1k
10k FREQUENCY (Hz)
100k
1M
Figure 24. Gain vs. Frequency vs. Code, RAB = 50 k
0 -6 -12 -18
GAIN (dB)
Figure 27. PSRR vs. Frequency
20H 10H 08H 04H 02H 01H
5V/DIV
SCL
2
500mV/DIV
VW
1
-24 -30 -36 -42 -48 -54 -60 1k
05029-025
10k 100k FREQUENCY (Hz)
1M
400ns/DIV
Figure 25. Gain vs. Frequency vs. Code, RAB = 100 k
10k
Figure 28. Digital Feedthrough
VDD = VLOGIC = 5V 1k
200mV/DIV
ILOGIC (A)
VW
1
VDD = VLOGIC = 3V 100
10 0 1 2 VIH (V) 3 4 5
05029-052
1s/DIV
Figure 26. Logic Supply Current vs. Input Voltage
Figure 29. Midscale Glitch, Code 0x7F to 0x80
Rev. 0 | Page 11 of 24
05029-055
05029-053
05029-056
AD5258
2V/DIV
VW
1
5V/DIV
SCL
05029-054
2
200ns/DIV
Figure 30. Large Signal Settling Time
Rev. 0 | Page 12 of 24
AD5258 TEST CIRCUITS
Figure 31 through Figure 36 illustrate the test circuits that define the test conditions used in the product specification tables.
DUT A V+ B W V+ = VDD 1LSB = V+/2N
VA DUT VDD A V+ W
V+ = VDD 10% VMS PSRR (dB) = 20 LOG VDD VMS% PSS (%/%) = VDD%
(
)
05029-033
05029-030
VMS
B
VMS
Figure 31. Test Circuit for Potentiometer Divider Nonlinearity Error (INL, DNL)
NO CONNECT DUT AW B
05029-031
Figure 34. Test Circuit for Power Supply Sensitivity (PSS, PSSR)
DUT A W AD8610 VOUT
05029-034
+5V
IW
VIN B OFFSET GND
VMS
+2.5V
-5V
Figure 32. Test Circuit for Resistor Position Nonlinearity Error (Rheostat Operation; R-INL, R-DNL)
DUT A VMS2 B VMS1 W VW RW = [VMS1 - VMS2]/IW
05029-032
Figure 35. Test Circuit for Gain vs. Frequency
RSW = 0.1V ISW W ISW B GND TO VDD
05029-035
DUT
IW = VDD/RNOMINAL
CODE = 0x00 0.1V
Figure 33. Test Circuit for Wiper Resistance
Figure 36. Test Circuit for Common-Mode Leakage Current
Rev. 0 | Page 13 of 24
AD5258 THEORY OF OPERATION
The AD5258 is a 64-position digitally controlled variable resistor (VR) device. The wiper's default value, prior to programming the EEPROM, is midscale. Similar to the mechanical potentiometer, the resistance of the RDAC between Wiper W and Terminal A produces a digitally controlled complementary resistance, RWA. The resistance value setting for RWA starts at a maximum value of resistance and decreases as the data loaded in the latch increases in value. The general equation for this operation is
PROGRAMMING THE VARIABLE RESISTOR
Rheostat Operation
The nominal resistance (RAB) of the RDAC between Terminal A and Terminal B is available in 1 k, 10 k, 50 k, and 100 k. The nominal resistance of the VR has 64 contact points accessed by the wiper terminal. The 6-bit data in the RDAC latch is decoded to select one of 64 possible settings.
A W A W A W
05029-036
RWA ( D ) =
64 - D x R AB + 2 x RW 64
(2)
Typical device-to-device matching is process lot dependent and may vary by up to 30%. For this reason, resistance tolerance is stored in the EEPROM such that the user will know the actual RAB within 0.1%.
PROGRAMMING THE POTENTIOMETER DIVIDER
Voltage Output Operation
The digital potentiometer easily generates a voltage divider at Wiper W-to-Terminal B and Wiper W-to-Terminal A proportional to the input voltage at Terminal A to Terminal B. Unlike the polarity of VDD to GND, which must be positive, voltage across Terminal A to Terminal B, Wiper W to Terminal A, and Wiper W to Terminal B can be at either polarity.
VI A W VO
05029-038
B
B
B
Figure 37. Rheostat Mode Configuration
The general equation determining the digitally programmed output resistance between Wiper W and Terminal B is
RWB (D ) = D x R AB + 2 x RW 64
(1)
where: D is the decimal equivalent of the binary code loaded in the 6-bit RDAC register. RAB is the end-to-end resistance. RW is the wiper resistance contributed by the on resistance of each internal switch.
A RS
B
Figure 39. Potentiometer Mode Configuration
D5 D4 D3 D2 D1 D0
RS
RS W
If ignoring the effect of the wiper resistance for approximation, connecting the A terminal to 5 V and the B terminal to ground produces an output voltage at Wiper W-to-Terminal B starting at 0 V up to 1 LSB less than 5 V. The general equation defining the output voltage at VW with respect to ground for any valid input voltage applied to Terminal A and Terminal B is
VW ( D) =
D 64 - D VA + VB 64 64
(3)
A more accurate calculation, which includes the effect of wiper resistance, VW, is
RDAC LATCH AND DECODER RS B
05029-037
VW (D ) =
R (D ) RWB (D ) VA + WA VB RAB RAB
(4)
Figure 38. AD5258 Equivalent RDAC Circuit
Note that in the zero-scale condition, there is a relatively low value finite wiper resistance. Care should be taken to limit the current flow between Wiper W and Terminal B in this state to a maximum pulse current of no more than 20 mA. Otherwise, degradation or destruction of the internal switch contact can occur.
Operation of the digital potentiometer in the divider mode results in a more accurate operation over temperature. Unlike the rheostat mode, the output voltage is dependent mainly on the ratio of the Internal Resistors, RWA and RWB, and not the absolute values.
Rev. 0 | Page 14 of 24
AD5258 I2C INTERFACE
Note that the wiper's default value, prior to programming the EEPROM, is midscale. 1. The master initiates data transfer by establishing a START condition when a high-to-low transition on the SDA line occurs while SCL is high (see Figure 4). The next byte is the slave address byte, which consists of the slave address (first 7 bits) followed by an R/W bit (see Table 6). When the R/W bit is high, the master reads from the slave device. When the R/W bit is low, the master writes to the slave device. The slave address of the part is determined by two threestate-configurable Address Pins AD0 and AD1. The state of these two pins is registered upon power-up and decoded into a corresponding I2C 7-bit address (see Table 5). The slave address corresponding to the transmitted address bits responds by pulling the SDA line low during the ninth clock pulse (this is termed the slave acknowledge bit). At this stage, all other devices on the bus remain idle while the selected device waits for data to be written to, or read from, its serial register. 2. Writing: In the write mode, the last bit (R/W) of the slave address byte is logic low. The second byte is the instruction byte. The first three bits of the instruction byte are the command bits (see Table 6). The user must choose whether to write to the RDAC register, EEPROM register, or activate the software write protect (see Table 7 to Table 10). The final five bits are all zeros (see Table 13 to Table 14). The slave again responds by pulling the SDA line low during the ninth clock pulse. The final byte is the data byte MSB first. Don't cares can be left either high or low. In the case of the write protect mode, data is not stored; rather, a logic high in the LSB enables write protect. Likewise, a logic low will disable write protect. The slave again responds by pulling the SDA line low during the ninth clock pulse. 3. Storing/Restoring: In this mode, only the address and instruction bytes are necessary. The last bit (R/W) of the address byte is logic low. The first three bits of the instruction byte are the command bits (see Table 6). The two choices are transfer data from RDAC to EEPROM 4. (store), or from EEPROM to RDAC (restore). The final five bits are all zeros (see Table 13 to Table 14). Reading: Assuming the register of interest was not just written to, it is necessary to write a dummy address and instruction byte. The instruction byte will vary depending on whether the data that is wanted is the RDAC register, EEPROM register, or tolerance register (see Table 11 to Table 16). After the dummy address and instruction bytes are sent, a repeat start is necessary. After the repeat start, another address byte is needed, except this time the R/W bit is logic high. Following this address byte is the readback byte containing the information requested in the instruction byte. Read bits appear on the negative edges of the clock. Don't cares may either be in a high or low state. The tolerance register can be read back individually (see Table 15) or consecutively (see Table 16). Refer to the Read Modes section for detailed information on the interpretation of the tolerance bytes. 5. After all data bits have been read or written, a STOP condition is established by the master. A STOP condition is defined as a low-to-high transition on the SDA line while SCL is high. In write mode, the master pulls the SDA line high during the tenth clock pulse to establish a STOP condition (see Figure 45). In read mode, the master issues a no acknowledge for the ninth clock pulse (that is, the SDA line remains high). The master then brings the SDA line low before the tenth clock pulse, and then raises SDA high to establish a STOP condition (see Figure 46). A repeated write function gives the user flexibility to update the RDAC output a number of times after addressing and instructing the part only once. For example, after the RDAC has acknowledged its slave address and instruction bytes in the write mode, the RDAC output is updated on each successive byte until a STOP condition is received. If different instructions are needed, the write/read mode has to start again with a new slave address, instruction, and data byte. Similarly, a repeated read function of the RDAC is also allowed.
Rev. 0 | Page 15 of 24
AD5258 I2C BYTE FORMATS
The following generic, write, read, and store/restore control registers for the AD5258 all refer to the device addresses listed in Table 5, and the mode/condition reference key (S, P, SA, MA, NA, W, R, and X) listed below. S = Start Condition P = Stop Condition SA = Slave Acknowledge MA = Master Acknowledge NA = No Acknowledge W = Write R = Read X = Don't Care Table 5. Device Address Lookup AD1 and AD0 are three-state address pins.
Device Address 0011000 0011001 0011010 0101001 0101010 0101011 1001100 1001101 1001110 AD1 0 NC 1 0 NC 1 0 NC 1 AD0 0 0 0 NC NC NC 1 1 1
GENERIC INTERFACE
Table 6. Generic Interface Format
S 7-Bit Device Address R/W SA C2 C1 C0 A4 A3 A2 A1 A0 SA D7 D6 D5 D4 D3 D2 D1 D0 SA P (See Table 5) Slave Address Byte Instruction Byte Data Byte
Table 7. RDAC-to-EEPROM Interface Command Descriptions
C2 0 0 0 1 1 1 C1 0 0 1 0 0 1 C0 0 1 0 0 1 0 Command Description Operation between I2C and RDAC Operation between I2C and EEPROM Operation between I 2C and Write Protection Register. See Table 10. NOP Restore EEPROM to RDAC Store RDAC to EEPROM
Rev. 0 | Page 16 of 24
AD5258
WRITE MODES
Table 8. Writing to RDAC Register
S 7-Bit Device Address (See Table 5) Slave Address Byte 0 SA 0 0 0 0 0 0 0 0 SA X X D5 D4 D3 D2 D1 D0 SA P
Instruction Byte
Data Byte
Table 9. Writing to EEPROM Register
S 7-Bit Device Address (See Table 5) Slave Address Byte 0 SA 0 0 1 0 0 0 0 0 SA X X D5 D4 D3 D2 D1 D0 SA P
Instruction Byte
Data Byte
The wiper's default value, prior to programming the EEPROM, is midscale. Table 10. Activating/Deactivating Software Write Protect
S 7-Bit Device Address (See Table 5) Slave Address Byte 0 SA 0 1 0 0 0 0 0 0 SA 0 0 0 0 0 0 0 WP SA P
Instruction Byte
Data Byte
In order to activate the write protection mode, the WP bit in Table 10 must be logic high. In order to deactivate the write protection, the command must be sent again except with the WP in logic zero state.
READ MODES
Read modes are referred to as traditional because the first two bytes for all three cases are "dummy" bytes which function to place the pointer towards the correct register. This is the reason for the repeat start. In theory, this step can be avoided if the user is interested in reading a register that was previously Table 11. Traditional Readback of RDAC Register Value
S 7-Bit Device Address (See Table 5) 0 SA 0 Slave Address Byte
0 0 0 0 0 0 0 SA S
written to. For example, if the EEPROM was just written to, then the user can skip the two dummy bytes and proceed directly to the slave address byte followed by the EEPROM readback data.
Instruction Byte
7-Bit Device Address (See Table 5) Slave Address Byte
1 SA X
X D5 D4 D3 D2 D1 D0 NA P
Read Back Data
Repeat start
Table 12. Traditional Readback of Stored EEPROM Value
S 7-Bit Device Address (See Table 5) 0 SA 0 Slave Address Byte
0 1 0 0 0 0 0 SA S
Instruction Byte
7-Bit Device Address (See Table 5) Slave Address Byte
1 SA X
X D5 D4 D3 D2 D1 D0 NA P
Read Back Data
Repeat start
STORE/RESTORE MODES
Table 13. Storing RDAC Value to EEPROM
S 7-Bit Device Address 0 SA 1 1 0 0 0 0 0 0 SA P (See Table 5) Slave Address Byte Instruction Byte
Table 14. Restoring EEPROM to RDAC
S 7-Bit Device Address (See Table 5) 0 SA 1 0 1 0 0 0 0 0 SA P Slave Address Byte Instruction Byte
Rev. 0 | Page 17 of 24
AD5258
TOLERANCE READBACK MODES
Table 15. Traditional Readback of Tolerance (Individually)
7-Bit Device Address 7-Bit Device Address (See Table 5) (See Table 5) S 0 SA 0 0 1 1 1 1 1 0 SA S 1 SA D7 D6 D5 D4 D3 D2 D1 D0 NA P Slave Address Byte Instruction Byte Slave Address Byte Sign + Integer Byte
Repeat start 7-Bit Device Address 7-Bit Device Address (See Table 5) (See Table 5) 0 SA 0 0 1 1 1 1 1 1 SA S 1 SA D7 D6 D5 D4 D3 D2 D1 D0 NA P Slave Address Byte Instruction Byte Slave Address Byte Decimal Byte
S
Repeat start
Table 16.Traditional Readback of Tolerance (Consecutively)
S 7-Bit Device Address (See Table 5) 0 SA 0 0 1 1 1 1 1 0 SA S 7-Bit Device Address (See Table 5) 1 SA D7 D6 D5 D4 D3 D2 D1 D0 MA D7 D6 D5 D4 D3 D2 D1 D0 NA P
Slave Address Byte
Instruction Byte
Slave Address Byte
Sign + Integer Byte
Decimal Byte
Repeat start
Calculating RAB Tolerance Stored in Read-Only Memory
A
D7 SIGN
D6 26
D5 25
D4 24
D3 23
D2 22
D1 21
D0 20
A
D7 2-1
D6 2-2
D5 2-3
D4 2-4
D3 2-5
D2 2-6
D1 2-7
D0 2-8
A
SIGN
7 BITS FOR INTEGER NUMBER
8 BITS FOR DECIMAL NUMBER
Figure 40. Format of Stored Tolerance in Sign Magnitude Format with Bit Position Descriptions. (Unit is Percent. Only Data Bytes are Shown.)
The AD5258 features a patented RAB tolerance storage in the nonvolatile memory. The tolerance is stored in the memory during factory production and can be read by users at any time. The knowledge of stored tolerance allows users to accurately calculate RAB. This feature is valuable for precision, rheostat mode, and open-loop applications where knowledge of absolute resistance is critical. The stored tolerance resides in the read-only memory and is expressed as a percentage. The tolerance is stored in two memory location bytes in sign magnitude binary form (see Figure 40). The two EEPROM address bytes are 11110 (sign + integer) and 11111 (decimal number). The two bytes can be individually accessed with two separate commands (see Table 15). Alternatively, readback of the first byte followed by the second byte can be done in one command (see Table 16). In the latter case, the memory pointer will automatically increment from the first to
the second EEPROM location (increments from 11110 to 11111) if read consecutively. In the first memory location, the MSB is designated for the sign (0 = + and 1= -) and the seven LSBs are designated for the integer portion of the tolerance. In the second memory location, all eight data bits are designated for the decimal portion of tolerance. Note that the decimal portion has a limited accuracy of only 0.1%. For example, if the rated RAB = 10 k and the data readback from Address 11110 shows 0001 1100, and Address 11111 shows 0000 1111, then the tolerance can be calculated as MSB: 0 = + Next 7 MSB: 001 1100 = 28 8 LSB: 0000 1111 = 15 x 2-8 = 0.06 Tolerance = +28.06% Rounded Tolerance = +28.1% and therefore, RAB_ACTUAL = 12.810 k
Rev. 0 | Page 18 of 24
05029-005
AD5258
ESD PROTECTION OF DIGITAL PINS AND RESISTOR TERMINALS
The AD5258 VDD, VLOGIC, and GND power supplies define the boundary conditions for proper 3-terminal and digital input operation. Supply signals present on Terminal A, Terminal B, and Terminal W that exceed VDD or GND are clamped by the internal forward biased ESD protection diodes (see Figure 41). Digital Input SCL and Digital Input SDA are clamped by ESD protection diodes with respect to VLOGIC and GND as shown in Figure 42.
VDD
Similarly, it is also good practice to bypass the power supplies with quality capacitors for optimum stability. Supply leads to the device should be bypassed with disc or chip ceramic capacitors of 0.01 F to 0.1 F. Low ESR 1 F to 10 F tantalum or electrolytic capacitors should also be applied at the supplies to minimize any transient disturbance and low frequency ripple (see Figure 43). The digital ground should also be joined remotely to the analog ground at one point to minimize the ground bounce.
VDD C2 10F
+
VDD C1 0.1F
AD5258
A W
GND
B
05029-039
GND
Figure 41. Maximum Terminal Voltages Set by VDD and GND
VLOGIC
Figure 43. Power Supply Bypassing
MULTIPLE DEVICES ON ONE BUS
The AD5258 has two three-state configurable Address Pins AD0 and AD1. The state of these two pins is registered upon power-up and decoded into a corresponding I2C 7-bit address (see Table 5). This allows up to nine devices on the bus to be written to, or read from, independently. In the case that the pin is assigned to be floated, the static voltage will be VLOGIC/2.
SCL SDA
GND
Figure 42. Maximum Terminal Voltages Set by VLOGIC and GND
05029-040
EVALUATION BOARD
An evaluation board, along with all necessary software, is available to program the AD5258 from any PC running Windows(R) 98/2000/XP. The graphical user interface, as shown in Figure 44, is straightforward and easy to use. More detailed information is available in the user manual that comes with the board.
POWER-UP SEQUENCE
Because the ESD protection diodes limit the voltage compliance at Terminal A, Terminal B, and Terminal W (see Figure 41), it is important to power GND/VDD/VLOGIC before applying any voltage to Terminal A, Terminal B, and Terminal W; otherwise, the diode is forward biased such that VDD and VLOGIC are powered unintentionally and may affect the user's circuit. The ideal power-up sequence is in the following order: GND, VDD, VLOGIC, digital inputs, and then VA, VB, VW. The relative order of powering VA, VB, VW, and the digital inputs is not important as long as they are powered after GND/VDD/VLOGIC.
It is good practice to employ compact, minimum lead length layout design. The leads to the inputs should be as direct as possible with minimum conductor length. Ground paths should have low resistance and low inductance.
Figure 44. AD5258 Evaluation Board Software
Rev. 0 | Page 19 of 24
05029-042
LAYOUT AND POWER SUPPLY BYPASSING
05029-041
AD5258 DISPLAY APPLICATIONS
CIRCUITRY
A special feature of the AD5258 is its unique separation of the VLOGIC and VDD supply pins. The reason for doing this is to provide greater flexibility in applications that do not always provide needed supply voltages. In particular, LCD panels often require a VCOM voltage in the range of 3 V to 5 V. The circuit in Figure 45 is the rare exception in which a 5 V supply is available to power the digital potentiometer. VDD will not affect that node's bias because it is only on the order of microamps. VLOGIC is tied to the MCU's 3.3 V digital supply because VLOGIC will draw the 35 mA which is needed when writing to the EEPROM. It would be impractical to try and source 35 mA through the 70 k resistor, therefore, VLOGIC is not connected to the same node as VDD. For this reason, VLOGIC and VDD are provided as two separate supply pins that can either be tied together or treated independently; VLOGIC supplying the logic/EEPROM with power, and VDD biasing up the A, B, and W terminals for added flexibility.
VCC (~3.3V) SUPPLIES POWER 14.4V TO BOTH THE R1 MICRO AND THE 70k LOGIC SUPPLY OF THE DIGITAL POT C1 AD5258 1F R6 R5 VDD 10k 10k VLOGIC R2 A 10k SCL MCU W SDA B GND
VCC (~3.3V)
5V
14.4V R1 70k
C1 1F R6 10k R5 10k
AD5258
VDD VLOGIC SCL SDA GND R3 25k R2 A 10k
B W
-
-
U1 AD8565
+ 3.5V < VCOM < 4.5V
U1 AD8565
+ 3.5V < VCOM < 4.5V
MCU
05029-006
Figure 45. VCOM Adjustment Application
Figure 46. Circuitry When a Separate Supply is Not Available for VDD
In the more common case shown in Figure 46, only analog 14.4 V and digital logic 3.3 V supplies are available. By placing discrete resistors above and below the digital pot, VDD can now be tapped off the resistor string itself. Based on the chosen resistor values, the voltage at VDD in this case equals 4.8 V, allowing the wiper to be safely operated all the way up to 4.8 V. The current draw of
For a more detailed look at this application, refer to the article, "Simple VCOM Adjustment uses any Logic Supply Voltage" in the September 30, 2004, issue of EDN magazine.
Rev. 0 | Page 20 of 24
05029-007
R3 25k
AD5258 OUTLINE DIMENSIONS
3.00 BSC
10
6
3.00 BSC
1 5
4.90 BSC
PIN 1 0.50 BSC 0.95 0.85 0.75 0.15 0.00 0.27 0.17 COPLANARITY 0.10 COMPLIANT TO JEDEC STANDARDS MO-187BA 1.10 MAX 8 0 0.80 0.60 0.40
SEATING PLANE
0.23 0.08
Figure 47. 10-Lead Mini Small Outline Package [MSOP] (RM-10) Dimensions shown in millimeters
ORDERING GUIDE
Model AD5258BRMZ11 AD5258BRMZ1-R71 AD5258BRMZ101 AD5258BRMZ10-R71 AD5258BRMZ501 AD5258BRMZ50-R71 AD5258BRMZ1001 AD5258BRMZ100-R71 AD5258EVAL2
1 2
RAB () 1k 1k 10 k 10 k 50 k 50 k 100 k 100 k
Temperature -40C to +85C -40C to +85C -40C to +85C -40C to +85C -40C to +85C -40C to +85C -40C to +85C -40C to +85C
Package Description MSOP-10 MSOP-10 MSOP-10 MSOP-10 MSOP-10 MSOP-10 MSOP-10 MSOP-10 Evaluation Board
Package Option RM-10 RM-10 RM-10 RM-10 RM-10 RM-10 RM-10 RM-10
Branding D4K D4K D4L D4L D4M D4M D4N D4N
Z = Pb-free part. The evaluation board is shipped with the 10 k RAB resistor option; however, the board is compatible with all available resistor value options.
Rev. 0 | Page 21 of 24
AD5258
NOTES
Rev. 0 | Page 22 of 24
AD5258
NOTES
Rev. 0 | Page 23 of 24
AD5258
NOTES
Purchase of licensed I2C components of Analog Devices or one of its sublicensed Associated Companies conveys a license for the purchaser under the Philips I2C Patent Rights to use these components in an I2C system, provided that the system conforms to the I2C Standard Specification as defined by Philips.
(c) 2005 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners. D05029-0-3/05(0)
Rev. 0 | Page 24 of 24


▲Up To Search▲   

 
Price & Availability of AD5258EVAL2

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X